package com.cl.pattern.memento.multi;

import java.util.HashMap;

/**
 * @ClassName Caretaker
 * @Description 备忘录管理员角色
 * @Author Small
 * @Date 2020/7/9 10:24
 * @Version 1.0
 **/
public class Caretaker {
    /**
     * 备忘录对象容器
     */
    private HashMap<String,Memento> mementoMap = new HashMap<String, Memento>();

    public HashMap<String, Memento> getMementoMap() {
        return mementoMap;
    }

    public void setMementoMap(HashMap<String, Memento> mementoMap) {
        this.mementoMap = mementoMap;
    }
}
